package com.nzw.pojo.shop;

/**
 * Created by yinwx on 2017/12/28/028.
 * 门店的实体类
 */


import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;


@Table(name="t_shop")
public class Shop {

    private Long id;            //id
    private Long companyId;     //企业id
    private String shopName;    //门店名称
    private String address;     //门店地址
    private Date createDate;    //创建时间
    private String longitude;   //经度
    private String latitude;    //纬度
    private String phone;       //电话
    private String image;       //图片
    private String appid;       //公众号id
    private String macid;       //商户号id
    private String printUser;   //打印机账号
    private String printUKey;   //注册账号后生成的UKEY
    private String printSN;     //打印机编号
    private Boolean butted;     //是否已对接线下数据
    private String clientUrl;   //客户端url
    private String outLineUrl;
    private Boolean del;


    @Column(name = "printUser")
    public String getPrintUser() {
        return printUser;
    }

    public void setPrintUser(String printUser) {
        this.printUser = printUser;
    }

    @Column(name = "del")
    public Boolean getDel() {
        return del;
    }

    public void setDel(Boolean del) {
        this.del = del;
    }

    @Column(name = "printUKey")
    public String getPrintUKey() {
        return printUKey;
    }

    public void setPrintUKey(String printUKey) {
        this.printUKey = printUKey;
    }

    @Column(name = "printSN")
    public String getPrintSN() {
        return printSN;
    }

    public void setPrintSN(String printSN) {
        this.printSN = printSN;
    }

    @Column(name = "id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "outLineUrl")
    public String getOutLineUrl() {
        return outLineUrl;
    }

    public void setOutLineUrl(String outLineUrl) {
        this.outLineUrl = outLineUrl;
    }

    @Column(name = "shopName")
    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }


    @Column(name="createDate")
    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Column(name = "companyId")
    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    @Column(name = "address")
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }


    @Column(name = "longitude")
    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }


    @Column(name = "latitude")
    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }


    @Column(name = "phone")
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    @Column(name = "image")
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }



    @Column(name = "appid")
    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    @Column(name = "macid")
    public String getMacid() {
        return macid;
    }

    public void setMacid(String macid) {
        this.macid = macid;
    }

    @Column(name = "butted")
    public Boolean getButted() {
        return butted;
    }

    public void setButted(Boolean butted) {
        this.butted = butted;
    }

    @Column(name = "clientUrl")
    public String getClientUrl() {
        return clientUrl;
    }

    public void setClientUrl(String clientUrl) {
        this.clientUrl = clientUrl;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "id=" + id +
                ", companyId=" + companyId +
                ", shopName='" + shopName + '\'' +
                ", address='" + address + '\'' +
                ", createDate=" + createDate +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", phone='" + phone + '\'' +
                ", image='" + image + '\'' +
                ", appid='" + appid + '\'' +
                ", macid='" + macid + '\'' +
                '}';
    }
}